<?php if (!defined('THINK_PATH')) exit();?><table class="table-grid table-multiple">
    <thead>
    <tr>
        <th class="col-idx"><a href="#" class="btn-arrowstop lnk-multiple" onclick="">&nbsp;</a></th>
        <th>租户ID</th>
        <th>属性名称</th>
        <th>字段名称</th>
        <th>组件类型</th>
        <th>是否显示</th>
        <th>是否必填</th>
        <th>排序</th>
        <th>字段备注</th>
        <th>创建时间</th>
        <th>操作</th>
    </td></tr>
    </thead>
    <tbody>
    <?php if(is_array($list)): foreach($list as $key=>$vo): if(is_numeric($key)): $key=$key+1; endif; ?><tr data-key="<?php echo ($vo["id"]); ?>">
            <td><?php echo ($key); ?></td>
            <td><?php echo ($vo["siteID"]); ?></td>
            <td><?php echo ($vo["label"]); ?></td>
            <td><?php echo ($vo["field"]); ?></td>
            <td><?php echo (sofn_get_state_text('input-type',$vo["inputType"])); ?></td>
            <td><?php echo (sofn_get_state_text('yes-no',$vo["isDisplay"])); ?></td>
            <td><?php echo (sofn_get_state_text('yes-no',$vo["isRequire"])); ?></td>
            <td><?php echo ($vo["ordinal"]); ?></td>
            <td><?php echo ($vo["common"]); ?></td>
            <td><?php echo ($vo["createdTime"]); ?></td>
            <td class="no-padding">
                <a href="<?php echo U('SysExfield/item_edit','id='.$vo['id']);?>" class="btn-edit lnk-edit">编辑</a>
                <a href="<?php echo U('SysExfield/item_up','id='.$vo['id'].'&target='.$vo['target']);?>" class="btn-up">上移</a>
                <a href="<?php echo U('SysExfield/item_down','id='.$vo['id'].'&target='.$vo['target']);?>" class="btn-down">下移</a>
            </td>
        </td></tr><?php endforeach; endif; ?>
    </tbody>
</table>
<?php echo ($pager); ?>